import pickup from "@/assets/pickup.svg"

/** 提货管理 */
export default [
  {
    path: "/train-pick-up-record-management",
    redirect: "/wait-delivery-list/index",
    meta: {
      title: "提货管理",
      icon: pickup,
      activeIcon: pickup,
      sort: 10
    },
    children: [
      {
        path: "/wait-delivery-list/index",
        name: "WaitDeliveryList",
        component: () => import("@/views/wait-delivery-list/index.vue"),
        meta: {
          title: "待提货列表",
          icon: "",
          permission: [
            {
              path: "pickUp",
              label: "提货"
            },
          ]
        },
      },
      {
        path: "/train-pick-up-record/index",
        name: "TrainPickUpRecord",
        component: () => import("@/views/train-pick-up-record/index.vue"),
        meta: {
          title: "车次提货记录",
          icon: "",
          permission: [
            {
              path: "update",
              label: "修改"
            },
            {
              path: "generateLading",
              label: "生成提货单"
            },
            {
              path: "exportTable",
              label: "导出表格"
            },
          ]
        },
      },
      {
        path: "/lading-bill-template/index",
        name: "LadingBillTemplate",
        component: () => import("@/views/lading-bill-template/index.vue"),
        meta: {
          title: "提货单模板",
          icon: "",
          permission: [
            {
              path: "insert",
              label: "新增"
            },
            {
              path: "update",
              label: "修改"
            },
          ]
        },
      },
    ],
  },
];
